package admin.repository;

import common.model.Propaganda;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;
import java.util.List;

public interface PropagandaRepository extends JpaRepository<Propaganda, Long> {
    List<Propaganda> findByDateAndLawyerNameAndApproved(Date date, String lawyerName, Boolean approved);
}